package com.xzsoft.gdwz.services;

import java.util.Map;

import com.xzsoft.gdwz.model.UserToken;

public interface TokenServices {
	public UserToken selectTokenByName(String name);
	
	public void insertToken(UserToken token);
	
	public void updateToken(Map token);
	
	public UserToken getToken(String id);
	
	public UserToken getTokenByName(String enName);
	
	public UserToken getToken(String username,String password);
}
